<ui-view>
    <div class="waidiv">
        <div class="cpxq_gw_zzc_box jrgwc disnone">
            <section class="cpxq_section_footer_box">
                <div class="cpxq_section_ret_box">
                    <div class="cpxq_error_box">
                        <div class="cpxq_head_box">
                            <img ng-src="{{gpdata[0].pic}}" alt=""/>
                        </div>
                        <img src="image/error2.png" ng-click="xianshi.jrgwc()" alt=""/>
                    </div>
                    <div class="cpxq_weniz_box">
                        <h4>{{data1.goods_name}}</h4>
                        <div class="cpxq_num_box">
                            <div class="cpxq_num_box_1">
                                <div>
                                    <span class="cpxq_rmb_box">￥</span><span class="cpxq_num_taotal">{{price}}</span>
                                </div>
                                <!--<del class="cpxq_del_num">￥{{data1.sell_price | number:2}}</del>-->
                            </div>
                            <div class="cpxq_num_box_2">
                                <span ng-click="zengjian.jian()">-</span>
                                <div>{{num}}</div>
                                <span ng-click="zengjian.jia()">+</span>
                            </div>
                        </div>
                    </div>
                    <div class="sc-gundongtiao">
                        <div ng-if="scdataChroma[0][0].chroma" class="cpxq_product_detail_box">
                            <h4>色度等级</h4>
                            <div class="cpxq_product_detail_daxiao jrgwcsdfj" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataChroma track by $index" ng-if="v[0].chroma"
                                      id="{{v[0].chroma_code}}">{{v[0].chroma}}</span>
                            </div>
                        </div>
                        <div class="cpxq_product_detail_box">
                            <h4>颜色</h4>
                            <div class="cpxq_product_detail_daxiao jrgwcys" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataColor track by $index" data-id={{k}}
                                      ng-class="{'active-span-cead87':jrgwcysbol[k],'gray':graybolarr[k]}"
                                      ng-show="v.color_id" id="{{v.color_id}}">{{v.color_desc}}</span>
                            </div>
                        </div>
                        <div ng-if="scdataGemstone[0][0].gemstone" class="cpxq_product_detail_box">
                            <h4>宝石</h4>
                            <div class="cpxq_product_detail_daxiao jrgwcbs" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataGemstone track by $index" ng-if="v[0].gemstone"
                                      id="{{v[0].gemstone_code}}">{{v[0].gemstone}}</span>
                            </div>
                        </div>
                        <div ng-if="scdataGoldRange[0][0].gold_range" class="cpxq_product_detail_box">
                            <h4>素金克重范围</h4>
                            <div class="cpxq_product_detail_daxiao jrgwcsjkzfw" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataGoldRange track by $index" ng-if="v[0].gold_range"
                                      id="{{v[0].gold_range_code}}">{{v[0].gold_range}}</span>
                            </div>
                        </div>
                        <div ng-if="scdataGoldStone[0][0].gold_stone" class="cpxq_product_detail_box">
                            <h4>金石</h4>
                            <div class="cpxq_product_detail_daxiao jrgwcjs" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataGoldStone track by $index" ng-if="v[0].gold_stone"
                                      id="{{v[0].gold_stone_code}}">{{v[0].gold_stone}}</span>
                            </div>
                        </div>
                        <div ng-if="scdataGoldWeight[0][0].weight_value" class="cpxq_product_detail_box">
                            <h4>金重</h4>
                            <div class="cpxq_product_detail_daxiao jrgwcjz" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataGoldWeight track by $index" ng-if="v[0].weight_value"
                                      id="{{v[0].weight_code}}">{{v[0].weight_value}}</span>
                            </div>
                        </div>
                        <div ng-if="scdataKcolor[0][0].k_color" class="cpxq_product_detail_box">
                            <h4>18K颜色等级</h4>
                            <div class="cpxq_product_detail_daxiao jrgwc18kysdj" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataKcolor track by $index" ng-if="v[0].k_color"
                                      id="{{v[0].k_color_code}}">{{v[0].k_color}}</span>
                            </div>
                        </div>
                        <div ng-if="scdataLevel[0][0].level_name" class="cpxq_product_detail_box">
                            <h4>净度等级</h4>
                            <div class="cpxq_product_detail_daxiao jrgwcjddj" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataLevel track by $index" ng-if="v[0].level_name"
                                      id="{{v[0].level_code}}">{{v[0].level_name}}</span>
                            </div>
                        </div>
                        <div ng-if="scdataMark[0][0].level_name" class="cpxq_product_detail_box">
                            <h4>主钻分数</h4>
                            <div class="cpxq_product_detail_daxiao jrgwczzfs" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataMark track by $index" ng-if="v[0].mark_name"
                                      id="{{v[0].mark_code}}">{{v[0].mark_name}}</span>
                            </div>
                        </div>
                        <div ng-if="scdataSilverColor[0][0].silver_color" class="cpxq_product_detail_box">
                            <h4>银饰颜色</h4>
                            <div class="cpxq_product_detail_daxiao jrgwcysys" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataSilverColor track by $index" ng-if="v[0].silver_color"
                                      id="{{v[0].silver_color_code}}">{{v[0].silver_color}}</span>
                            </div>
                        </div>
                        <div class="cpxq_product_detail_box">
                            <h4>尺码</h4>
                            <div class="cpxq_product_detail_daxiao jrgwccm" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataSize track by $index"
                                      ng-class="{'active-span-cead87':jrgwccmbol[k],'gray':graybolarr1[k]}"
                                      ng-show="v.size_id" id="{{v.size_id}}">{{v.size_desc}}</span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="cpxq_doitnow_box" ng-click="jiaru()">
                    确定加入
                </div>
            </section>
        </div>
        <div class="cpxq_gw_zzc_box ljgm disnone">
            <section class="cpxq_section_footer_box">
                <div class="cpxq_section_ret_box">
                    <div class="cpxq_error_box">
                        <div class="cpxq_head_box">
                            <img ng-src="{{gpdata[0].pic}}" alt=""/>
                        </div>
                        <img src="image/error2.png" ng-click="xianshi.ljgm()" alt=""/>
                    </div>
                    <div class="cpxq_weniz_box">
                        <h4>{{data1.goods_name}}</h4>
                        <div class="cpxq_num_box">
                            <div class="cpxq_num_box_1">
                                <div>
                                    <span class="cpxq_rmb_box">￥</span><span class="cpxq_num_taotal">{{price}}</span>
                                </div>
                                <!--<del class="cpxq_del_num">￥{{data1.sell_price | number:2}}</del>-->
                            </div>
                            <div class="cpxq_num_box_2">
                                <span ng-click="zengjian1.jian()">-</span>
                                <div>{{num1}}</div>
                                <span ng-click="zengjian1.jia()">+</span>
                            </div>
                        </div>
                    </div>
                    <div class="sc-gundongtiao">
                        <div ng-if="scdataChroma[0][0].chroma" class="cpxq_product_detail_box">
                            <h4>色度等级</h4>
                            <div class="cpxq_product_detail_daxiao ljgmsddj" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataChroma track by $index" ng-if="v[0].chroma"
                                      id="{{v[0].chroma_code}}">{{v[0].chroma}}</span>
                            </div>
                        </div>
                        <div class="cpxq_product_detail_box">
                            <h4>颜色</h4>
                            <div class="cpxq_product_detail_daxiao ljgmys" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataColor track by $index"
                                      ng-class="{'active-span-cead87':ljgmysbol[k],'gray':graybolarr2[k]}"
                                      ng-show="v.color_id" id="{{v.color_id}}">{{v.color_desc}}</span>
                            </div>
                        </div>
                        <div ng-if="scdataGemstone[0][0].gemstone" class="cpxq_product_detail_box">
                            <h4>宝石</h4>
                            <div class="cpxq_product_detail_daxiao ljgmbs" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataGemstone track by $index" ng-if="v[0].gemstone"
                                      id="{{v[0].gemstone_code}}">{{v[0].gemstone}}</span>
                            </div>
                        </div>
                        <div ng-if="scdataGoldRange[0][0].gold_range" class="cpxq_product_detail_box">
                            <h4>素金克重范围</h4>
                            <div class="cpxq_product_detail_daxiao ljgmsjkzfw" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataGoldRange track by $index" ng-if="v[0].gold_range"
                                      id="{{v[0].gold_range_code}}">{{v[0].gold_range}}</span>
                            </div>
                        </div>
                        <div ng-if="scdataGoldStone[0][0].gold_stone" class="cpxq_product_detail_box">
                            <h4>金石</h4>
                            <div class="cpxq_product_detail_daxiao ljgmjs" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataGoldStone track by $index" ng-if="v[0].gold_stone"
                                      id="{{v[0].gold_stone_code}}">{{v[0].gold_stone}}</span>
                            </div>
                        </div>
                        <div ng-if="scdataGoldWeight[0][0].weight_value" class="cpxq_product_detail_box">
                            <h4>金重</h4>
                            <div class="cpxq_product_detail_daxiao ljgmjz" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataGoldWeight track by $index" ng-if="v[0].weight_value"
                                      id="{{v[0].weight_code}}">{{v[0].weight_value}}</span>
                            </div>
                        </div>
                        <div ng-if="scdataKcolor[0][0].k_color" class="cpxq_product_detail_box">
                            <h4>18K颜色等级</h4>
                            <div class="cpxq_product_detail_daxiao ljgm18kysdj" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataKcolor track by $index" ng-if="v[0].k_color"
                                      id="{{v[0].k_color_code}}">{{v[0].k_color}}</span>
                            </div>
                        </div>
                        <div ng-if="scdataLevel[0][0].level_name" class="cpxq_product_detail_box">
                            <h4>净度等级</h4>
                            <div class="cpxq_product_detail_daxiao ljgmjddj" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataLevel track by $index" ng-if="v[0].level_name"
                                      id="{{v[0].level_code}}">{{v[0].level_name}}</span>
                            </div>
                        </div>
                        <div ng-if="scdataMark[0][0].level_name" class="cpxq_product_detail_box">
                            <h4>主钻分数</h4>
                            <div class="cpxq_product_detail_daxiao ljgmzzfs" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataMark track by $index" ng-if="v[0].mark_name"
                                      id="{{v[0].mark_code}}">{{v[0].mark_name}}</span>
                            </div>
                        </div>
                        <div ng-if="scdataSilverColor[0][0].silver_color" class="cpxq_product_detail_box">
                            <h4>银饰颜色</h4>
                            <div class="cpxq_product_detail_daxiao ljgmysys" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataSilverColor track by $index" ng-if="v[0].silver_color"
                                      id="{{v[0].silver_color_code}}">{{v[0].silver_color}}</span>
                            </div>
                        </div>
                        <div class="cpxq_product_detail_box">
                            <h4>尺码</h4>
                            <div class="cpxq_product_detail_daxiao ljgmcm" ng-click="canshuslt($event)">
                                <span ng-repeat="(k,v) in scdataSize track by $index"
                                      ng-class="{'active-span-cead87':ljgmcmbol[k],'gray':graybolarr3[k]}"
                                      ng-show="v.size_id" id="{{v.size_id}}">{{v.size_desc}}</span>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="cpxq_doitnow_box" ng-click="goumai()">
                    立即购买
                </div>
            </section>
        </div>
        <div>
            <header class="xihuan_head-box pa" id="cpxq_rgba">
                <div class="xihuan_common_head">
                    <img ng-click="backButton()" src="image/back.png" alt=""/>
                    <span>产品详情</span>
                    <div ng-click="shareF()" class="xihuan_wddd_flaot-right xq_daxiao">
                        <img src="image/bjshdzhi_img1.png"/>
                    </div>
                </div>
            </header>
            <div class="cpxq-wrap" id="cpxq-wrap">
                <div class="product_details_container">
                    <div class="cpxq_banner_box">
                        <div class="cpxq_lf_box_1" id="cpxq_lf_box_1">
                            <!--大基佬:这里面是轮播图摆放位置-->
                            <div class="swiper-container cpxq_lf_box_1-cont">
                                <div class="swiper-wrapper">
                                    <div ng-if="gpdata" on-finish ng-repeat="i in gpdata" class="swiper-slide">
                                        <div class="pruduct_dtl_box"><img ng-src="{{i.pic}}"/></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!--<div class="cpxq_posit_lf" ng-click="backButton()"><img src="image/back.png" id=""  /></div>
                        <div class="cpxq_posit_rt" ng-click="shareF()"><img src="image/bjshdzhi_img1.png" id=""/></div>-->
                        <div class="cpxq_posit_bt" id="cpxq_posit_bt">
                            <p class="span_xiaol">销量</p><span>{{data1.goods_sales}}</span>
                        </div>
                        <div class="ddxqy_box_container">
                            <div class="ddxqy_box_container_1">
                                <div class="ddxqy_box_container_1-name">{{data1.goods_name}}</div>
                                <div>{{data1.goods_aliases_name}}</div>
                                <div class="ddxqy_box_container_2">
                                    <span>￥</span>
                                    <div ng-class="{disnone:mpbol}">{{data1.mix_price}}</div>
                                    <div ng-class="{disnone:!mpbol}">{{hzarr[0]}}</div>
                                    <!--<span class="cpxq_se_price">￥{{data1.sell_price | number:2}}</span>-->
                                </div>
                            </div>
                            <div class="ddxqy_box_container_3">
                                <div><img class="ddxqy_shunfengbaoyou" src="image/shunfengbaoyou.png" alt=""/><span>顺丰包邮</span></div>
                                <div><img class="ddxqy_zhengpinbaozhang" src="image/zhengpinbaozhang.png" alt=""/><span>正品保障</span></div>
                                <div><img class="ddxqy_mianweixiufei" src="image/mianweixiufei.png" alt=""/><span>全国联保</span>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="cpxq_cpxx_box">
                        <div>商品信息</div>
                        <div class="cpxq_cpxx_ul_box">
                            <ul class="cpxq_cpxx_li_list">
                                <li ng-if="parameterdata.style_name">款式:{{parameterdata.style_name}}</li>
                                <li ng-if="parameterdata.girard">款号:{{parameterdata.girard}}</li>
                                <li ng-if="parameterdata.for_user">用途:{{parameterdata.for_user}}</li>
                                <li ng-if="parameterdata.score_unit">主钻分数:{{parameterdata.score_unit}}</li>
                                <li ng-if="parameterdata.color_level">颜色等级:{{parameterdata.color_level}}</li>
                                <li ng-if="parameterdata.clean_level">净度等级:{{parameterdata.clean_level}}</li>
                                <li ng-if="parameterdata.cut_grade">钻石切工:{{parameterdata.cut_grade}}</li>
                                <li ng-if="parameterdata.cut_diploma">钻石证书:{{parameterdata.cut_diploma}}</li>
                                <li ng-if="parameterdata.cut_shape">宝石形状:{{parameterdata.cut_shape}}</li>
                                <li ng-if="parameterdata.is_lettering">可否刻字:{{parameterdata.is_lettering}}</li>
                                <li ng-if="parameterdata.is_chain">是否配链:{{parameterdata.is_chain}}</li>
                                <li ng-if="parameterdata.gem_type">宝石类型:{{parameterdata.gem_type}}</li>
                            </ul>
                        </div>
                    </div>
                    <div class="cpxq_baobei_deitale_box">
                        <div>
                            <h5>宝贝评论<span class="nopl" ng-click="toComment(data1.goods_id)" ng-if="!is_more">暂无评论</span></h5>
                            <div class="cpxq_baobei_pinlun_box" ng-repeat="pl in pldata">
                                <div class="cpxq_head_deailt">
                                    <img ng-src="{{pl.headimgurl}}" alt=""/> <span>{{pl.nickname}}</span>
                                </div>
                                <div class="cpxq_pinlun_content">
                                    {{pl.remark}}
                                </div>
                                <div class="cpxq_user_shangchuan_img">
                                    <img ng-repeat="plimg in pl.show_order_img_info" ng-src="{{plimg}}" alt=""/>
                                </div>
                            </div>
                            <div class="cpxq_chakan_btn" ng-click="toComment(data1.goods_id)" ng-if="is_more">
                                <a class="cpxq_chakan_btn" href="">查看更多评论{{value}}</a>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="product_main_img_container">
                </div>
                <div class="product_xg_box_1">
                    <h5>相关产品</h5>
                    <div class="sh_soushuo_main_box_2 cpxq-wg-houjia">
                        <div class="sh_produt_list_box" ng-repeat="(key,z) in xiangGuanData" ng-click="toUrl(z.goods_id)">
                            <img ng-src="{{z.pic}}" alt=""/>
                            <div class="sh_price_num">
                                <h5>{{z.goods_name | limitTo : 12 }}</h5>
                                <span>{{z.goods_aliases_name | limitTo : 12}}</span>
                                <div class="sh_price_num_flex">
                                    <div class="product_xg_font_box">
                                        <span ng-if="showSale[key]">&yen;{{z.sku_price}}</span>
                                        <span ng-class="{xiangGuan_product:showSale[key]}">&yen;{{z.sku_price}}</span>
                                    </div>
                                    <img src="image/search_prodect_bb.png" alt=""/>
                                </div>
                            </div>
                            <div class="cpxq_xianshitejia"><img src="image/xianshitejie.png" alt="" ng-if="showSale[key]"/></div>
                        </div>
                    </div>
                </div>
            </div>
            <footer class="footer-btn-box">
                <div class="footer-kefu-box" onclick="NTKF.im_openInPageChat('kf_9048_1509589308292')">
                    <img src="image/cpqx_erji.png" alt=""/>
                    <p>客服</p>
                </div>
                <div class="footer-xihuan-box" ng-click="xihuan($event)">
                    <img src="image/cpxq_aixin.png" alt=""/>
                    <img class="disnone" src="image/hongxin.png" alt=""/>
                    <p>喜欢</p>
                </div>
                <div class="footer-gouwuche-box" ng-click="xianshi.jrgwc()">
                    加入购物车
                </div>
                <div class="footer-likegoumai-box" ng-click="xianshi.ljgm()">
                    立刻购买
                </div>
            </footer>
        </div>
        <div class="sc_sc_xiangshang_box">
            <img src="image/sc_xiangshang.png" ng-click="toTop()" alt=""/>
        </div>
    </div>
</ui-view>
